<%@ page language="java" import="com.zhuozhengsoft.pageoffice.*" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.pageoffice.cn" prefix="po"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>测试word在线使用</title>

  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="0">
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="This is my page">

  <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
  <script type="text/javascript" src="pageoffice.js" id="po_js_main"></script>





</head>

<body>

<%-- 方式1. 本方式是采用 后台servlet直接读取，不建议使用，对IE不支持

这是编辑word 的页面 都得用

--%>




<!--**************   卓正 PageOffice 客户端代码开始    ************************-->
<script language="javascript" type="text/javascript">
    function SaveDocuments() {
        document.getElementById("PageOfficeCtrl1").WebSave();
        //alert(document.getElementById("PageOfficeCtrl1").CustomSaveResult);
    }
    function ShowPrintDlg() {
        document.getElementById("PageOfficeCtrl1").ShowDialog(4);
    }
    function SetFullScreen() {
        document.getElementById("PageOfficeCtrl1").FullScreen = !document.getElementById("PageOfficeCtrl1").FullScreen;
    }
    function AddSeal() {
        document.getElementById("PageOfficeCtrl1").ZoomSeal.AddSeal();
    }
    function AddHandSign() {
        document.getElementById("PageOfficeCtrl1").ZoomSeal.AddHandSign();
    }
    function VerifySeal() {
        try{
            document.getElementById("PageOfficeCtrl1").ZoomSeal.VerifySeal();
        }catch(e){
        }
    }
</script>
<!--**************   卓正 PageOffice 客户端代码结束    ************************-->
<!--  <div style="width:auto;height:200px;background-color: gray">

 </div> -->
<div style="width:auto;">
  <po:PageOfficeCtrl id="PageOfficeCtrl1" />
</div>
</body>
</html>